package cn.sz.hy.adapter;

import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent;

import cn.sz.hy.common.EventBus;

public abstract class MouseAdapterBasic extends MouseAdapter {
	protected EventBus eBus = EventBus.getInstance();

	@Override
	public void mouseDown(MouseEvent e) {
		super.mouseDown(e);
		execute(e);
	}
	protected abstract void execute(MouseEvent e);
}
